import requests
# ihrmd登录接口代码封装实现：
class IhrmLogin:
    def ihrm_login(self,login_data):
        response=requests.post(url='http://ihrm2-test.itheima.net/api/sys/login',
                               headers={"Content-type":"application/json"},json=login_data)
        return response
